<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Title</title>
    
    <style>
      div {
        background: pink;
        color: darkgray;
      }
    </style>
  </head>
  <body>
    <!--display属性值为block时外部显示类型为块级。块级元素独占一行，其宽与父元素相同而高被内容撑开，width和height属性设置后起作用。内边距、边框和外边距会将其他元素从当前盒子周围推开-->
    <div style="display: block">block</div>
    <br>
    <div style="display: block;height: 100px;width: 100px">block</div>
  </body>
</html>